aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/events/[...id].astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/events/[...id].astro')
-rw-r--r--src/pages/events/[...id].astro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/events/[...id].astro b/src/pages/events/[...id].astro
index e2e66de..7a125df 100644
--- a/src/pages/events/[...id].astro
+++ b/src/pages/events/[...id].astro
@@ -1,6 +1,6 @@
---
import Breadcrumbs from '@/components/Breadcrumbs.astro'
-import PostHead from '@/components/PostHead.astro'
+import PageHead from '@/components/PageHead.astro'
import PostNavigation from '@/components/PostNavigation.astro'
import TOCHeader from '@/components/TOCHeader.astro'
import TOCSidebar from '@/components/TOCSidebar.astro'
@@ -34,7 +34,7 @@ const tocSections = await getTOCSections(currentEventId)
---
<Layout>
- <PostHead slot="head" post={event} />
+ <PageHead slot="head" title={event.data.title} description={event.data.description} />
{
headings?.length > 0 &&
!(headings.length === 1 && headings[0].text === event.data.title) && (